

public class Transformada {
	int exp;
	public Transformada(int exp){
		this.exp=exp;
		
	}
	public static int expo(int exp) {
	
	 double c;
	 double ln;
	 double res;
	 int n=0;
	 double r=(Math.random()*1);
	
	 ln=(Math.log(r));
	
	 c=(double)1/exp;
	 
	 res=-c*ln;
	 res=(res*100);
	
	 n=(int)res;
	 return n;
	 
	}
	
	}
	


